<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">  
<title>编辑商品</title>  

<link rel="stylesheet" type="text/css" href="/Public/css/Layout.css?v=<?=C("VERSION")?>">
<link rel="stylesheet" type="text/css" href="/Public/css/Theme.css?v=<?=C("VERSION")?>">
<link rel="stylesheet" type="text/css" href="/Public/css/DefaultUI.css?v=<?=C("VERSION")?>">
<link rel="stylesheet" type="text/css" href="/Public/css/glDatePicker.default.css?v=<?=C("VERSION")?>">
<link rel="stylesheet" type="text/css" href="/Public/uploadify/uploadify.css?v=<?=C("VERSION")?>">

<script type="text/javascript" src="/Public/js/JQuery.js?v=<?=C("VERSION")?>"></script>
<script type="text/javascript" src="/Public/js/JQueryUI.js?v=<?=C("VERSION")?>"></script>
<script type="text/javascript" src="/Public/js/SitemapHeader_INC.js?v=<?=C("VERSION")?>"></script>
<script type="text/javascript" src="/Public/js/UpdateImportSheetSubmit_INC.js?v=<?=C("VERSION")?>"></script>
<script type="text/javascript" src="/Public/js/glDatePicker.js?v=<?=C("VERSION")?>"></script>
<script type="text/javascript" src="/Public/uploadify/jquery.uploadify.js?v=<?=C("VERSION")?>"></script>

<script type="text/javascript">
    var APP = "__APP__";
</script>
</head>
<body onresize="" onunload="">
<div id="Header" style="width: 1350px;"> 
<div class="Inner">    
<div class="Logo Right"></div>    
<div class="LabelButton Right" onclick="window.location.href = '__APP__/Login/logout'">退出</div>
<div class="LabelButton Right" >帮助</div>
<div class="Label Right"><?=$_SESSION['UserName']?></div>
<a class="Application" href="__APP__">首页</a><div class="Label LabelNoPadding">&gt;</div><a class="Application" href="__APP__/ImportSheet/ViewParentsProduct">商品列表</a><div class="Label LabelNoPadding">&gt;</div><div class="Title">编辑商品</div>  </div></div>

<div id="Content" class="MenuColapsed" style="height: 568px; min-height: 568px; width: auto;">  
 
<div class="Inner">    
<table class="MainLayout" id="MainLayoutTable" cellspacing="0" cellpadding="0" border="0" style="height: 568px; min-height: 568px;">      
<tbody><tr>        
<td valign="top" id="MainLayout" class="MainLayoutCell" style="max-height: 100%;">
<table style="width: 100%" cellpadding="0" cellspacing="0" border="0">
<thead class="MainLayoutHeader" id="MainLayoutHeader">
<tr>  
<td class="MainLayoutActions" style="height: 1px;">
<div class="ActionBigLabel">基本信息</div>
</td>
</tr>
</thead>
</table>

<table name="XMLData" cellpadding="0" cellspacing="0">    
<tbody><tr>
<td>
<table class="Form" width="100%" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<th class="Parent" width="100%" colspan="5">商品类型</th>

</tr>

<tr>

<td width="100%">
<?=$ProductSubTypesList[0][ProductSubType]?>
</td>

<td width="100%">
<?=$ProductSubTypesList[0][SecondProductSubType]?>
</td>

<td width="100%">
<?=$ProductSubTypesList[0][ThirdProductSubType]?>
</td>

<td width="100%">
<?=$ProductSubTypesList[0][FourthProductSubType]?>
</td>

<td width="100%">
<?=$ProductSubTypesList[0][FifthProductSubType]?>
</td>
</tr>

<tr>
<th class="Parent" width="100%" >英文品牌</th>
<th class="Parent" width="100%" >中文品牌</th>
<th class="Parent" width="100%" >制造商</th>
<th class="Parent" width="100%">生产国</th>
<th class="Parent" width="100%">鞋底材质</th>
</tr>

<tr>
<td width="100%" ><?=$ImportProductSheetList[0][brand_name_en]?></td>
<td width="100%" ><?=$ImportProductSheetList[0][brand_name_zh]?></td>
<td width="100%" ><?=$ImportProductSheetList[0]['manufacturer']?></td>
<td width="100%" ><?=$ImportProductSheetList[0]['country_of_origin']?></td>
<td width="100%" ><?=$ImportProductSheetList[0]['sole_material']?></td>
</tr>



<tr>
<th class="Parent" width="100%"  colspan="5">商品名称</th>
</tr>

<tr>
<td width="100%" colspan="5"><?=$ImportProductSheetList[0]['item_name']?></td>
</tr>


<tr>
<th class="Parent" width="100%" colspan="5" >商品尺码</th>
</tr>

<tr>
<td width="100%" colspan="5">
<?php for($i=0;$i<count($ProductSizeList); $i++){?>
 <div style="margin-right:8px !important;float:left;"><?=$ProductSizeList[$i]['size_name']?> </div> 
<?php }?>
</td>
</tr>


<tr>
<th class="Parent" width="100%" colspan="5" >商品颜色</th>
</tr>
<tr>
<td width="100%" colspan="5">
<?php for($i=0;$i<count($ProductColorList); $i++){?>
<div style="margin-right:8px !important;float:left;"><?=$ProductColorList[$i]['color_name']?> </div>
<?php }?>
</td>
</tr>
</tbody>
</table>     
</td>    
</tr>  
</tbody>
</table>
<div class="Pagination">
<div class="ActionButtonContainer" title="重新编辑">
<a id="ActionButtonSaveChanges" class="ActionButton ActionButtonAttention" href="__APP__/ImportSheet/Edit/ImportProductSheetID/<?=$ImportProductSheetList[0]['ID']?>">
<div class="Title">修改基本信息</div>
</a>
</div>
</div>

<table name="XMLData_2" cellpadding="0" cellspacing="0">    
<tbody><tr>
<td>
<table class="Form" width="100%" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<th class="SectionHeader" width="100%" colspan="5"><div class="ActionBigLabel">图片信息 <b>(图片要求：分辨率500×500以上，1000×1000最佳。主图不可有logo 水印以及PS的文字和图案。附图可同时上传达 8 张图片。)</b></div></th>
</tr>
<tr>
<th class="Parent" width="100%" >颜色</th>
<th class="Parent" width="100%" colspan="2">图片上传</th>
</tr>

<?php for($i=0;$i<count($ProductColorList); $i++){?>
<tr>
<td width="100%" >
<?=$ProductColorList[$i]['color_name']?>
</td>
<td width="100%" >
<input type="file" name="upload_main_<?=$ProductColorList[$i]['ID']?>" id="upload_main_<?=$ProductColorList[$i]['ID']?>"/>
<input type="hidden" name="upload_main_name_<?=$ProductColorList[$i]['ID']?>" id="upload_main_name_<?=$ProductColorList[$i]['ID']?>" />
<div id="upload_main_view_<?=$ProductColorList[$i]['ID']?>" ImportProductTransSheetID="<?=$ProductColorList[$i]['ID']?>" ImportProductSheetID = "<?=$ImportProductSheetList[0]['ID']?>" ColorName = "<?=$ProductColorList[$i]['color_name']?>">
<img src="<?=ReplaseUrl($ProductColorList[$i]['main_image_url'])?>" id="main_image_url" onmouseover="ShowDeleteDiv(this);" onmouseout="HiddenDeleteDiv(this);" height="100" width="100"/></div>
</td>
<td width="100%"  >
<input type="file" name="upload_vice_<?=$ProductColorList[$i]['ID']?>" id="upload_vice_<?=$ProductColorList[$i]['ID']?>"/>
<input type="hidden" name="upload_vice_name_<?=$ProductColorList[$i]['ID']?>" id="upload_vice_name_<?=$ProductColorList[$i]['ID']?>" />
<div id="upload_vice_view_<?=$ProductColorList[$i]['ID']?>" ImportProductSheetID = "<?=$ImportProductSheetList[0]['ID']?>" ImportProductTransSheetID="<?=$ProductColorList[$i]['ID']?>" ColorName = "<?=$ProductColorList[$i]['color_name']?>">
<img src="<?=ReplaseUrl($ProductColorList[$i]['other_image_url1'])?>" id="other_image_url1" onmouseover="ShowDeleteDiv(this);" onmouseout="HiddenDeleteDiv(this);" height="100" width="100"/>
<img src="<?=ReplaseUrl($ProductColorList[$i]['other_image_url2'])?>" id="other_image_url2" onmouseover="ShowDeleteDiv(this);" onmouseout="HiddenDeleteDiv(this);" height="100" width="100"/>
<img src="<?=ReplaseUrl($ProductColorList[$i]['other_image_url3'])?>" id="other_image_url3" onmouseover="ShowDeleteDiv(this);" onmouseout="HiddenDeleteDiv(this);" height="100" width="100"/>
<img src="<?=ReplaseUrl($ProductColorList[$i]['other_image_url4'])?>" id="other_image_url4" onmouseover="ShowDeleteDiv(this);" onmouseout="HiddenDeleteDiv(this);" height="100" width="100"/>
<img src="<?=ReplaseUrl($ProductColorList[$i]['other_image_url5'])?>" id="other_image_url5" onmouseover="ShowDeleteDiv(this);" onmouseout="HiddenDeleteDiv(this);" height="100" width="100"/>
<img src="<?=ReplaseUrl($ProductColorList[$i]['other_image_url6'])?>" id="other_image_url6" onmouseover="ShowDeleteDiv(this);" onmouseout="HiddenDeleteDiv(this);" height="100" width="100"/>
<img src="<?=ReplaseUrl($ProductColorList[$i]['other_image_url7'])?>" id="other_image_url7" onmouseover="ShowDeleteDiv(this);" onmouseout="HiddenDeleteDiv(this);" height="100" width="100"/>
<img src="<?=ReplaseUrl($ProductColorList[$i]['other_image_url8'])?>" id="other_image_url8" onmouseover="ShowDeleteDiv(this);" onmouseout="HiddenDeleteDiv(this);" height="100" width="100"/>
</div>
<div id="DeleteImg" style="height:20px;width:100px;position:absolute;display:none;background:#406480;color:#FFFFFF;text-align:center;cursor:pointer;"," visible="false">删除</div>
</td>
</tr>
<script type="text/javascript">
			
			var MainSettings = {
					'height'        : 25,
                    'width'         : 80, 
                    'buttonText'    : '选择主图',
                    'swf'           : '/Public/uploadify/uploadify.swf',
					'formData'      : {'ImportProductSheetID': '<?=$ImportProductSheetList[0]['ID']?>', 'ColorName': '<?=$ProductColorList[$i]['color_name']?>', 'ImageType' : 'main','uploadifySessionID':<?=$_SESSION['UserID']?>},
                    'uploader'      :  '__URL__/UploadImage',
                    'auto'          : true,
                    'multi'         : false,
                    'removeCompleted':true,
					'removeTimeout'  : 1,
					'uploadLimit' : 0,
                    'fileTypeExts'  : '*.jpg;*.jpge;*.gif;*.png',
                    'fileSizeLimit' : '2MB',
                    'onUploadSuccess':function(file,data,response){
						if(data != ""){
							var Json = $.parseJSON(data);
							var img = $('#upload_main_view_<?=$ProductColorList[$i]['ID']?> #' + Json.URLID).attr("src", Json.URL);    //设置图片
						}

						var upload_main_view = $("#upload_main_view_<?=$ProductColorList[$i]['ID']?> img");
						var upload_main_buttondisable = true;
						if(upload_main_view.attr("src") == "") { 
								upload_main_buttondisable = false;
						}
						$("#upload_main_<?=$ProductColorList[$i]['ID']?>").uploadify('disable', upload_main_buttondisable);
                    },
					'onSWFReady' : function() {
						var upload_main_view = $("#upload_main_view_<?=$ProductColorList[$i]['ID']?> img");
						var upload_main_buttondisable = true;
						if(upload_main_view.attr("src") == "") { 
								upload_main_buttondisable = false;
						}
						$("#upload_main_<?=$ProductColorList[$i]['ID']?>").uploadify('disable', upload_main_buttondisable);
					}
				};


				$("#upload_main_<?=$ProductColorList[$i]['ID']?>").uploadify(MainSettings);

				var ViceuploadLimit = 0;
				
				$("#upload_vice_view_<?=$ProductColorList[$i]['ID']?> img").each(function(){ 
							if($(this).attr("src") == "") { 
								ViceuploadLimit += 1;
							}
				});

				var ViceSettings ={
				 	'height'        : 25,
                    'width'         : 80, 
                    'buttonText'    : '选择附图',
                    'swf'           : '/Public/uploadify/uploadify.swf',
					'formData'      : {'ImportProductSheetID' : '<?=$ImportProductSheetList[0]['ID']?>', 'ColorName': '<?=$ProductColorList[$i]['color_name']?>','ImageType' : 'vice','uploadifySessionID':<?=$_SESSION['UserID']?>},
                    'uploader'      :  '__URL__/UploadImage',
                    'auto'          : true,
                    'multi'         : true,
                    'removeCompleted':true,
					'removeTimeout'  : 1,
					'uploadLimit' : ViceuploadLimit,
                    'fileTypeExts'  : '*.jpg;*.jpge;*.gif;*.png',
                    'fileSizeLimit' : '2MB',
                    'onUploadSuccess':function(file,data,response){
						if(data != ""){
							var Json = $.parseJSON(data);
							var img = $('#upload_vice_view_<?=$ProductColorList[$i]['ID']?> #' + Json.URLID).attr("src", Json.URL);
						}
						var upload_vice_view = $("#upload_vice_view_<?=$ProductColorList[$i]['ID']?> img");
						var upload_vice_buttondisable = true;
						upload_vice_view.each(function(){ 
							if($(this).attr("src") == "") { 
								upload_vice_buttondisable = false;
								return false;
							}
						});

						$("#upload_vice_<?=$ProductColorList[$i]['ID']?>").uploadify('disable', upload_vice_buttondisable);
                    },
					'onSWFReady' : function() {
						var upload_vice_view = $("#upload_vice_view_<?=$ProductColorList[$i]['ID']?> img");
						var upload_vice_buttondisable = true;
						upload_vice_view.each(function(){ 
							if($(this).attr("src") == "") { 
								upload_vice_buttondisable = false;
								return false;
							}
						});

						$("#upload_vice_<?=$ProductColorList[$i]['ID']?>").uploadify('disable', upload_vice_buttondisable);
					}
				};

				$("#upload_vice_<?=$ProductColorList[$i]['ID']?>").uploadify(ViceSettings);
</script>
<?php }?>


</tbody>
</table>     
</td>    
</tr>  
</tbody>
</table> 

<br />


<form name="SingleRecordForm" id="SingleRecordForm" action="__APP__/ImportSheet/Update" method="POST"> 
<input name="ImportProductSheetID" type="hidden" value="<?=$ImportProductSheetList[0]['ID']?>">
<table name="XMLData_1" cellpadding="0" cellspacing="0">    
<tbody><tr>
<td>
<table class="Form" width="100%" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<th class="SectionHeader" width="100%" colspan="7"><div class="ActionBigLabel">库存与价格<b></br>1 以下信息中 卖家sku 原价 库存数量 为必填项，若填写特价则必须填写特价开始日期和结束日期 </br>2 SKU号码可以填写货号，若要对接ERP需要核对每个子商品货号</b></div></th>
</tr>
<tr>
<th class="Parent" width="100%">卖家SKU</th>
<th class="Parent" width="100%">尺寸 颜色</th>
<th class="Parent" width="100%">原价</th>
<th class="Parent" width="100%">特价</th>
<th class="Parent" width="100%">特价开始日期</th>
<th class="Parent" width="100%">特价结束日期</th>
<th class="Parent" width="100%">库存数量</th>
</tr>

<tr>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" data="item_sku"  name="item_sku[0]" type="text" id="item_sku" value="<?=$ImportProductSheetList[0][item_sku]?>" /> 
</td>
<td width="100%">
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" data="standard_price" name="standard_price[0]" type="text" id="standard_price"  value="<?=$ImportProductTransSheetList[0][standard_price]?>"/>
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" data="sale_price" name="sale_price[0]" type="text" id="sale_price" value="<?=$ImportProductTransSheetList[0][sale_price]?>" />
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" data="sale_from_date" name="sale_from_date[0]" type="text" id="sale_from_date" value="<?=$ImportProductTransSheetList[0][sale_from_date]?>"/>
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" data="sale_end_date"  name="sale_end_date[0]" type="text" id="sale_end_date" value="<?=$ImportProductTransSheetList[0][sale_end_date]?>"/>
</td>
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" data="quantity"   name="quantity[0]" type="text" id="quantity" value="<?=$ImportProductTransSheetList[0][quantity]?>"/>
</td>
</tr>
<tr>
<td width="100%">
<input style="width:80px; margin-right:30px !important;"  name="textfield" type="button" id="textfield" onclick="CreatSKU();" value="生成SKU" /> 
</td>
<td width="100%">
</td>
<td width="100%">
<input style="width:80px; margin-right:30px !important;" name="textfield" type="button" id="textfield" onclick="CloneValue('standard_price');" value="复制到以下商品"/>
</td>
<td width="100%">
<input style="width:80px; margin-right:30px !important;"  name="textfield" type="button" id="textfield" onclick="CloneValue('sale_price');" value="复制到以下商品" />
</td>
<td width="100%">
<input style="width:80px; margin-right:30px !important;" name="textfield" type="button" id="textfield" onclick="CloneValue('sale_from_date');" value="复制到以下商品"/>
</td>
<td width="100%">
<input style="width:80px; margin-right:30px !important;" name="textfield" type="button" id="textfield" onclick="CloneValue('sale_end_date');" value="复制到以下商品"/>
</td>
<td width="100%">
<input style="width:80px; margin-right:30px !important;" name="textfield" type="button" id="textfield" onclick="CloneValue('quantity');" value="复制到以下商品"/>
</td>
</tr>

<?php for($i=0;$i<count($ImportProductTransSheetList); $i++){?>
<tr>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" data="item_sku" child="true"  name="item_sku[<?=$ImportProductTransSheetList[$i]['ID']?>]"
value="<?=$ImportProductTransSheetList[$i]['item_sku']?>" type="text" id="item_sku_<?=$ImportProductTransSheetList[$i]['ID']?>" /> 
</td>
<td width="100%">
<?=$ImportProductTransSheetList[$i]['size_name']?>  <?=$ImportProductTransSheetList[$i]['color_name']?>
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" name="standard_price[<?=$ImportProductTransSheetList[$i]['ID']?>]" value="<?=$ImportProductTransSheetList[$i]['standard_price']?>"  data="standard_price"  type="text" id="standard_price_<?=$ImportProductTransSheetList[$i]['ID']?>"/>
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;"  name="sale_price[<?=$ImportProductTransSheetList[$i]['ID']?>]"  data="sale_price" type="text" 
value="<?=$ImportProductTransSheetList[$i]['sale_price']?>"  id="sale_price_<?=$ImportProductTransSheetList[$i]['ID']?>" />
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" name="sale_from_date[<?=$ImportProductTransSheetList[$i]['ID']?>]"  data="sale_from_date" type="text" 
value="<?=$ImportProductTransSheetList[$i]['sale_from_date']?>"  id="sale_from_date_<?=$ImportProductTransSheetList[$i]['ID']?>"/>
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" name="sale_end_date[<?=$ImportProductTransSheetList[$i]['ID']?>]"  data="sale_end_date" type="text" 
value="<?=$ImportProductTransSheetList[$i]['sale_end_date']?>" id="sale_end_date_<?=$ImportProductTransSheetList[$i]['ID']?>"/>
</td>
</td>
<td width="100%">
<input style="width:110px; margin-right:30px !important;" name="quantity[<?=$ImportProductTransSheetList[$i]['ID']?>]"  data="quantity" type="text" 
value="<?=$ImportProductTransSheetList[$i]['quantity']?>" id="quantity_<?=$ImportProductTransSheetList[$i]['ID']?>"/>
</td>
</tr>
<?php }?>


<tr>
<th class="Parent" width="100%" colspan="7">商品描述（亚马逊目前只支持文字描述，最长 2000 个字符。请注意：不支持输入扩展 ASCII 字符（®、©、™ 等） 或其他特殊字符。）</th>
</tr>


<tr>
<td width="100%"  colspan="7">
<textarea name="product_description" cols="45" rows="5" id="product_description"><?=str_replace("<br />", Chr(10), $ImportProductSheetList[0]['product_description'])?></textarea>
</td>
</tr>

<tr>
<th class="Parent" width="100%" colspan="7">警告 （如适用，请提示任何涉及该商品的警告。如不要挤压或刺破容器。 避免高压环境和容器受阳光直射。最长500字符）</th>
</tr>


<tr>
<td width="100%"  colspan="7">
<textarea name="safety_warning" cols="45" rows="5" id="safety_warning"><?=str_replace("<br />", Chr(10), $ImportProductSheetList[0]['safety_warning'])?></textarea>
</td>
</tr>


<tr>
<th class="SectionHeader" width="100%" colspan="5"><div class="ActionBigLabel">商品详情 <b>(此处包含鞋靴商品的详细属性，此处信息作为消费者筛选商品重要条件，对商品曝光度有重要影响。)</b></div></th>
</tr>


<tr>
<th class="Parent" width="100%">品牌发源国</th>
<th class="Parent" width="100%" >透明度</th>
<th class="Parent" width="100%">帮面材质</th>
<th class="Parent" width="100%">适用人群</th>
<th class="Parent" width="100%">闭合方式</th>
</tr>


<tr>
<td width="100%">
<?php MultipleSelectArr("Countries", "country_string", "Country", "", $ImportProductSheetList[0]['country_string']); ?>
</td>

<td width="100%"  >
<div class="SelectField">
<select id="opacity" name="opacity">
<option value="不透明">不透明</option>
<option value="透明">透明</option>
</select>
</div>
</td>
<td width="100%"><?php MultipleSelectArr("OuterMaterialTypes", "material_type1", "OuterMaterialType", "", $ImportProductSheetList[0]['material_type1']); ?></td>
<td width="100%">
<?php MultipleSelectArr("DepartmentNames", "department_name", "DepartmentName", "", $ImportProductSheetList[0]['department_name']); ?>
</td>

<td width="100%">
<?php MultipleSelectArr("ClosuretTypes", "closure_type", "ClosuretType", "", $ImportProductSheetList[0]['closure_type']); ?>
</td>

</tr>

<tr>
<th class="Parent" width="100%">款式1</th>
<th class="Parent" width="100%">款式2</th>
<th class="Parent" width="100%">款式3</th>
<th class="Parent" width="100%">款式4</th>
<th class="Parent" width="100%">款式5</th>
</tr>

<tr>
<td width="100%">
<?php MultipleSelectArr("ProductStyles", "style_keywords1", "ProductStyle", "", $ImportProductSheetList[0]['style_keywords1']); ?>
</td>

<td width="100%">
<?php MultipleSelectArr("ProductStyles", "style_keywords2", "ProductStyle", "", $ImportProductSheetList[0]['style_keywords2']); ?>
</td>

<td width="100%">
<?php MultipleSelectArr("ProductStyles", "style_keywords3", "ProductStyle", "", $ImportProductSheetList[0]['style_keywords3']); ?>
</td>

<td width="100%">
<?php MultipleSelectArr("ProductStyles", "style_keywords4", "ProductStyle", "", $ImportProductSheetList[0]['style_keywords4']); ?>
</td>

<td width="100%">
<?php MultipleSelectArr("ProductStyles", "style_keywords5", "ProductStyle", "", $ImportProductSheetList[0]['style_keywords5']); ?>
</td>
</tr>
<tr>
<th class="Parent" width="100%">鞋跟类型</th>
<th class="Parent" width="100%">适用场合</th>
<th class="Parent" width="100%">商品特点1</th>
<th class="Parent" width="100%">商品特点2</th>
<th class="Parent" width="100%">商品特点3</th>
</tr>
<tr>
<td width="100%">
<?php MultipleSelectArr("HeelTypes", "heel_type", "HeelType", "", $ImportProductSheetList[0]['heel_type']); ?>
</td>
<td width="100%">
<?php MultipleSelectArr("Lifestyles", "lifestyle1", "Lifestyle", "", $ImportProductSheetList[0]['lifestyle1']); ?>
</td>
<td width="100%">
<?php MultipleSelectArr("SpecialFeatures", "special_features1", "SpecialFeature", "", $ImportProductSheetList[0]['special_features1']); ?>
</td>
<td width="100%">
<?php MultipleSelectArr("SpecialFeatures", "special_features2", "SpecialFeature", "", $ImportProductSheetList[0]['special_features2']); ?>
</td>
<td width="100%">
<?php MultipleSelectArr("SpecialFeatures", "special_features3", "SpecialFeature", "", $ImportProductSheetList[0]['special_features3']); ?>
</td>

</tr>

<tr>
<th class="Parent" width="100%">靴筒高度</th>
<th class="Parent" width="100%">里料材料</th>
<th class="Parent" width="100%">鞋头样式</th>
<th class="Parent" width="100%">是否防水</th>
<th class="Parent" width="100%">适用季节</th>
</tr>
<tr>
<td width="100%"><?php MultipleSelectArr("HeightMaps", "height_map", "HeightMap", "", $ImportProductSheetList[0]['height_map']); ?></td>
<td width="100%"><?php MultipleSelectArr("LiningDescriptions", "lining_description", "LiningDescription", "", $ImportProductSheetList[0]['lining_description']); ?></td>
<td width="100%"><?php MultipleSelectArr("ToeStyles", "toe_style", "ToeStyle", "", $ImportProductSheetList[0]['toe_style']); ?></td>
<td width="100%">
<div class="SelectField">
<select id="water_resistance_level" name="water_resistance_level">
<option value="不防水">不防水</option> 
<option value="防水">防水</option>
</select>
</div>
</td>
<td width="100%"><?php MultipleSelectArr("Seasons", "seasons", "Seasons", "", $ImportProductSheetList[0]['seasons']); ?></td>
</tr>
<tr>
<th class="Parent" width="100%">图案样式</th>
<th class="Parent" width="100%">袜筒高度</th>
<th class="Parent" width="100%" colspan="3">水台高度 (CM)</th>


</tr>

<tr>
<td width="100%"><?php MultipleSelectArr("PatternTypes", "pattern_type", "PatternType", "", $ImportProductSheetList[0]['pattern_type']); ?></td>
<td width="100%"><?php MultipleSelectArr("RiseStyles", "rise_style", "RiseStyle", "", $ImportProductSheetList[0]['rise_style']); ?></td>
<td width="100%" colspan="3"><input name="platform_height" maxlength="50" type="text" id="platform_height" value = "<?=$ImportProductSheetList[0]['platform_height']?>"/></td>
</tr>


<tr>
<th class="SectionHeader" width="100%" colspan="5"><div class="ActionBigLabel">运营信息</div></th>
</tr>

<tr>
<th class="Parent" width="100%">搜索关键词1</th>
<th class="Parent" width="100%">搜索关键词2</th>
<th class="Parent" width="100%">搜索关键词3</th>
<th class="Parent" width="100%">搜索关键词4</th>
<th class="Parent" width="100%">搜索关键词5</th>
</tr>

<tr>
<td width="100%"><input name="generic_keywords1" maxlength="50" type="text" id="generic_keywords1" value = "<?=$ImportProductSheetList[0]['generic_keywords1']?>"/></td>
<td width="100%"><input name="generic_keywords2"  maxlength="50" type="text" id="generic_keywords2" value = "<?=$ImportProductSheetList[0]['generic_keywords2']?>"/></td>
<td width="100%"><input name="generic_keywords3"  maxlength="50" type="text" id="generic_keywords3" value = "<?=$ImportProductSheetList[0]['generic_keywords3']?>"/></td>
<td width="100%"><input name="generic_keywords4"  maxlength="50" type="text" id="generic_keywords4" value = "<?=$ImportProductSheetList[0]['generic_keywords4']?>"/></td>
<td width="100%"><input name="generic_keywords5"  maxlength="50" type="text" id="generic_keywords5" value = "<?=$ImportProductSheetList[0]['generic_keywords5']?>"/></td>

</tr>


<tr>
<th class="Parent" width="100%" colspan="5">发货准备时间(天)</th>
</tr>

<tr>
<td width="100%" colspan="5">
<input type="text" id="fulfillment_latency" name="fulfillment_latency" style="width:50px; margin-right:30px !important;" value="<?=$ImportProductTransSheetList[0]['fulfillment_latency']?>"/>
</td>
</tr>

</tbody>
</table>     
</td>    
</tr>  
</tbody>
</table> 


<br />
<div class="Pagination">
<div class="ActionButtonContainer" title="确定">
<a id="ActionButtonSaveChanges" class="ActionButton ActionButtonAttention" onClick="Formsubmit(document.SingleRecordForm, 'Next');">
<div class="Title">继续创建商品</div>  
</a>
</div>  

<div class="ActionButtonContainer" title="确定">
<a id="ActionButtonSaveChanges" class="ActionButton ActionButtonAttention" onClick="Formsubmit(document.SingleRecordForm);">
<div class="Title">完成</div>  
</a>
</div> 
</div>

<br />

</form>        
</td>     
</tr>    
</tbody>
</table>  
</div>
</div>

<script type="text/javascript"> 
SetLayoutHeight();   
</script>

</body></html>